package com.hliushi.bookmanager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hliushi.bookmanager.pojo.Record;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface RecordMapper extends BaseMapper<Record> {

    List<Record> getAllRecord();

    List<Record> getOwnRecord(String readerId);
}
